module("ScriptToLua", package.seeall)

local UIWinMgr = require("UI.UIWinMgr").UIWinMgr

ScriptToLua = {}

function ScriptToLua.UpdateClubList()
    local NewGameLoobyWin = UIWinMgr:GetWindow("NewGameLoobyWin")
    NewGameLoobyWin:SetClubTableUpdate() 
end

function ScriptToLua.UpdateClub3List()
    local NewGameLoobyWin = UIWinMgr:GetWindow("NewGameLoobyWin")
    NewGameLoobyWin:SetClubTable3Update() 
end

function ScriptToLua.returnHall()
   
    print("returnHall++++++++++++: " )
    local WebViewWindow = UIWinMgr:GetWindow("WebViewWindow")
    WebViewWindow:CloseWin()
end

function ScriptToLua.urlChanged()
    print("urlChanged++++++++++++: " )
    local WebViewWindow = UIWinMgr:GetWindow("WebViewWindow")
    WebViewWindow:urlChanged()
end
 
 